
<html>
<head>
	<title>test</title>
	<script src="lib/js/jquery-2.1.1.min.js"></script>
	<script>
	/*
	var arr="[2,3,[6,7,[8]]]";

	//var json=JSON.parse('['+arr.toString()+']');
	var a=arr.toString();
	a=a.split("[");
	a=a.toString().split("]");
	var b=arr.replace(/\[|\]/g,'')
	console.log(b);
	
	if(localStorage.pagecount){
		localStorage.pagecount=Number(localStorage.pagecount)+1;
	}
	else{
		localStorage.pagecount=1;
	}
	console.log(localStorage.pagecount)
	*/
	var data=
"{ 
root: 
[ 
{name:'1',value:'0'}, 
{name:'6101',value:'西安市'}, 
{name:'6102',value:'铜川市'}, 
{name:'6103',value:'宝鸡市'}, 
{name:'6104',value:'咸阳市'}, 
{name:'6105',value:'渭南市'}, 
{name:'6106',value:'延安市'}, 
{name:'6107',value:'汉中市'}, 
{name:'6108',value:'榆林市'}, 
{name:'6109',value:'安康市'}, 
{name:'6110',value:'商洛市'} 
] 
}"; 
console.log(data)
var d=eval("("+data+")");
$.each(d.root,function(index,item){
	console.log(item.name+":"+item.value)
})
	</script>
</head>
<body>
<div>
	<iframe src="http://www.baidu.com" width="200" height="150"></iframe>
</div>
<div class="foo/bar">
	<p>d</p>
	<input type="file">
</div>
</body>
</html>